<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>显示模式和固定</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
    </style>
</head>
<body>
<div>

</div>
</body>
</html>